# Phase-accurate internal tides in a global ocean forecast model: Potential applications for nadir and wide-swath altimetry

There are three main folders

1. **preprocessing and analysis**
    - `save_hycom.py` : Save SSH from raw binary to netcdf
    - `preprocessing.py` : Spatial filtering and move data from HYCOM grid to altimeter track points
    - `sliding_harmonicanalysis.py` : Harmonic analysis - shorter time windows (60  to 210 days)
    - `tidal_fitting_3yr.py` : Harmonic analysis - longer time window (3 years)
2. **data**
    - `amplitudes_phases.nc` : Amplitudes and Phases of ITs in HRET & HYCOM
    - `variance_reduction.nc` : Variance reduction statistics - HRET & HYCOM
3. **plotting**
    - `Figure_1_map_wiggles.ipynb`
    - `Figure_2_globalmaps.ipynb`
    - `Figure_3_barplot.ipynb`
    - `Sup_fig1.ipynb`
    - `Sup_fig2.ipynb`
    - `Sup_fig3.ipynb`